﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/Admin.Master" AutoEventWireup="true" CodeBehind="Add.aspx.cs" Inherits="IMark.Admin.SlideShow.Add" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="row">
        <div class="col-lg-12">
            <div id="info" runat="server"></div>
            <div class="panel panel-green">
                <div class="panel-heading">
                    Thêm Slide                       
                </div>
                <!-- /.panel-heading -->
                <div class="panel-body">
                    <div class="form-group">
                        <label>Tiêu đề <span class="irequire">(*)</span></label>
                        <input id="txtSlideName" runat="server" placeholder="Nhập tiêu đề slide" class="form-control validate[required]" data-prompt-position="topLeft" />
                    </div>                    
                    <div class="form-group">
                        <label>Hình ảnh <span class="irequire">(.bmp, .gif, .png, .jpg, .jpeg kích thước: 867x407px)</span></label>
                        <asp:FileUpload ID="fUpload" runat="server" CssClass="validate[required]" data-prompt-position="topLeft" />
                    </div>
                    <div class="form-group">
                        <label>Link</label>
                        <input id="txtLink" runat="server" placeholder="Nhập link cho slide" class="form-control" />
                    </div>
                    <div class="form-group">
                        <label>Mô tả</label>
                        <textarea id="txtSummary" runat="server" rows="2" class="form-control"></textarea>
                    </div>
                                        
                    <!-- /.table-responsive -->
                    <asp:Button ID="btnAdd" runat="server" CssClass="btn btn-primary" Text="Thêm Slide" OnClick="btnAdd_Click" />
                    <asp:Button ID="btnCancel" runat="server" CssClass="btn btn-primary" Text="Thoát" UseSubmitBehavior="false" OnClick="btnCancel_Click" />
                </div>
                <!-- /.panel-body -->
            </div>
            <!-- /.panel -->
        </div>
        <!-- /.col-lg-12 -->
    </div>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="Footer" runat="server">
    <script type="text/javascript">        
        $(document).ready(function () {
            $("#aspnetForm").validationEngine();
        });
    </script>
</asp:Content>
